#ifndef _PT_DEMO_H
#define _PT_DEMO_H

#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>

#include <unistd.h>
#include <fcntl.h>
#include <netdb.h>
#include <ifaddrs.h>
#include <errno.h>
#include <signal.h>
#include <time.h>
#include <libgen.h>
#include <dirent.h>
#include <pthread.h>
#include <semaphore.h>
#include <assert.h>
#include <ctype.h>

typedef enum
{
    TASK_STATUS_IDLE,
    TASK_STATUS_RUNNING,
    TASK_STATUS_SHUTTING,
    TASK_STATUS_SHUTTING_2,
    TASK_STATUS_SHUTDOWN,
    TASK_STATUS_MAX
} task_status_e;

typedef struct Tx_Task_Info_t_
{
	uint32_t soc_id:8; //bb soc id
	uint32_t slot_id:8; // slot idx
	uint32_t rsv1:16;
}Task_Info_t;

typedef	void *(*ThreadEntryPtrType)(void *);

#endif